package com.he.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.he.pojo.AirQualityIndex;

import java.util.List;

public interface AirQualityIndexService extends IService<AirQualityIndex> {
    // 查询所有数据
    List<AirQualityIndex> findAirQualityIndex();
    // 添加数据
    Integer addAirQualityIndex(AirQualityIndex airQualityIndex);
    // 通过id查询数据
    AirQualityIndex findAirQualityIndexById(Integer id);
    // 修改数据
    Integer updateData(AirQualityIndex airQualityIndex);
    // 根据区域查询数据
    List<AirQualityIndex> selectByDistrict(String district);
}
